package com.zjdiepu.www.diepu.biz;

import com.diepu.www.client.proxy.partner.request.divi.ApplyDiviProxyRequest;
import com.diepu.www.client.proxy.partner.request.divi.SynDiviAttachmentsRequest;
import com.zjdiepu.www.security.exception.BasePartnerException;

/**
 * 与碟普交互
 * @author xiongxiaotun
 *
 */
public interface IDiepuProxyService {
	/**
	 * 分期申请
	 * @param request
	 * @return
	 */
	boolean saveApplyDivi(ApplyDiviProxyRequest request) throws BasePartnerException;
	/**
	 * 补充分期资料
	 * @param synDiviAttachmentsRequest
	 * @return
	 */
	boolean synDiviAttachments(SynDiviAttachmentsRequest synDiviAttachmentsRequest) throws BasePartnerException;
	
	void saveOpenCardSuccess();
	void saveOpenCardFail();

	boolean saveNoticeOpenCardSuccess(String datasId);
	
	boolean saveTransferOtherAttachments(String dataId, String orderno);

	boolean saveNoticeOpenCardFail(String datasId,Integer openCardStatus,String backReason);
}
